package com.hilon.segment.mybatis.controller;

import com.hilon.segment.mybatis.pojo.dto.UserDTO;
import com.hilon.segment.mybatis.utils.ResultBean;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/user")
public class UserController {


    @PostMapping("")
    public ResultBean<Void> insertNewUser(@RequestBody UserDTO userDTO) {
        return new ResultBean<>();
    }
}
